<fieldset id="filters">
  <legend><?php echo $this->lang->line('label.filters') ?></legend>
  <form accept-charset="utf-8" method="post" id="form_user_search"
        action="<?php echo site_url('admin/'.$this->router->fetch_class() . '/search') ?>">
    <ul>
      <li>
        <label for="is_active"><?php echo $this->lang->line('label.user.is_active') ?></label>				
        <select name="is_active" class="chzn chzn-done" id="selMF9" style="visibility: visible">
          <option value="all" <?php echo isset($is_active) && $is_active== 'all' ? 'selected="selected"' : ''?>><?php echo $this->lang->line('label.option.all') ?></option>
          <option value="1" <?php echo isset($is_active) && $is_active=== '1' ? 'selected="selected"' : ''?>><?php echo $this->lang->line('label.yes') ?></option>
          <option value="0" <?php echo isset($is_active) && $is_active=== '0' ? 'selected="selected"' : ''?>><?php echo $this->lang->line('label.no') ?></option>
        </select>
      </li>
      <li>
        <label for="group_id"><?php echo $this->lang->line('label.user.group_id') ?></label>				
        <select name="group_id" class="chzn chzn-done" id="selAOS" style="visibility: visible">
          <option value="all"><?php echo $this->lang->line('label.option.all') ?></option>
          <?php foreach ($groups as $group) { ?>
            <option value="<?php echo $group['id'] ?>"
                    <?php echo empty($group_id) || $group_id != $group['id'] ? '' : 'selected="selected"' ?>>
              <?php echo $this->group_model->to_string($group) ?></option>
          <?php } ?>
        </select>
      </li>
      <li>
        <a class="cancel ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only" 
             href="<?php echo site_url('admin/'.$this->router->fetch_class().'/index/'.$max.'/'.$offset)?>" role="button">
          <span class="ui-button-text"><?php echo $this->lang->line('btn.cancel') ?></span>
        </a>
        <a class="cancel ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only" 
             href="#" role="button" onclick="$('#form_user_search').submit();return false;">
          <span class="ui-button-text"><?php echo $this->lang->line('btn.filter') ?></span>
        </a>        
      </li>
    </ul>
  </form>
</fieldset>